package com.star.system.service;

import javax.servlet.http.HttpServletResponse;

/**
 * @author yangzj
 */
public interface CaptchaService {

    /**
     * 创建
     *
     * @param uuid     uuid
     * @param width    宽度
     * @param height   身高
     * @param response 回答
     */
    void create(String uuid, int width, int height, HttpServletResponse response);

    /**
     * 验证
     *
     * @param uuid    uuid
     * @param captcha captcha
     */
    void verify(String uuid, String captcha);
}
